package cn.com.connected;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created by sms on 2022/01/10.
 *
 * 核心数据项目
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        MybatisAutoConfiguration.class})
@EnableTransactionManagement
@MapperScan(basePackages="cn.com.connected.mapper.*")
public class ConnectedCarServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConnectedCarServerApplication.class, args);
    }

}
